<?php
//隔行变色表格 
echo "<table border='1' width='100%'>";
$a=0;
while($a<10){
	$style=$a%2?'style="background:red"':'';
	echo "<tr ".$style."><td>&nbsp;</td></tr>";
	$a++;
}
echo "</table>";

// *
// **
// ***
// ****
// *****

$a=1;
while($a<=5)
{
	$b=0;
	while($b<$a)
	{
		echo "*";
		$b++;
	}
	$a++;
	echo "<br/>";
}









